Chris Pollett > Old Classes >
CS174

( Print View )

Student Corner:
  [Grades Sec1]

  [Submit Sec1]

  [Class Sign Up Sec1]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HWs and Quizzes:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5][Quizzes]

Practice Exams:
  [Mid1]  [Final]

                           












CS174 Fall 2009Practice Final

To study for the final I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice final is below. Here are some facts about the actual final: (a) It is comprehensive (b) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (c) You should bring photo ID. (d) There will be more than one version of the test. Each version will be of comparable difficulty. (e) It is 10 problems, 6 problems will be on material since the midterm, four problems will come from the topics covered prior to the midterm. (f) Two problems will be exactly (less typos) off of the practice final, and one will be off of practice midterm.

1. Write a simple DTD that has as its main element the tag BusinessCard, and which has as subelements FullName, and Address. Your language should support a BusinessCard having a VIP attribute which can only have for its value VIP.

2. Give the syntax for associating a stylesheet with an XML document.

3. What is REST? Describe in detail the naming convention used by rest. Then give an example.

4. What is a proxy server and why might one be needed if you have an AJAX application?

5. Give an example of a CSRF attack on a web-site. Describe some techniques which might be used to prevent such an attack.

6. Define the following terms: (a) i18n, (b) l10n, (c) character set, (d) encoding.

7. Explain the steps needed to go from a php file with gettext calls in it to a .mo file

8. Write a short script which check if a value for "person" was been stored in memcache. If not it adds the key "person" with value array( "bob", "smith").

9. Write a short Flex application with a blue button on it, which when clicked says "Hi there!".

10. Write a short flex application which plays the video in the file "cool_music.flv".